﻿
@{
    ViewData["Title"] = "ReInfICreate";
    Layout = "~/Views/Home/Main.cshtml";
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    @*   <link rel="stylesheet" href="/layui.css"> *@ <!-- 确保layui的CSS路径正确 -->
    <style>
        .form-container {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .layui-form-item {
            margin-bottom: 20px;
        }

            .layui-form-item .layui-inline {
                margin-right: 20px; /* 为每个内联元素添加右边距 */
            }

            .layui-form-item .layui-input-block {
                margin-left: 0; /* 移除单选按钮块的左边距 */
            }

            .layui-form-item:last-child {
                margin-bottom: 0; /* 移除最后一个表单项的底部边距 */
            }

        .layui-btn {
            margin-right: 10px; /* 为提交按钮添加右边距 */
        }

        .layui-inline .layui-input-block .layui-textarea {
            width: 400px; /* 使textarea宽度占满父容器 */
            height: 5px;
            border: 1px solid #dcdcdc; /* 设置边框颜色 */
            border-radius: 4px; /* 设置边框圆角 */
            box-sizing: border-box; /* 确保宽度和高度包括内边距和边框 */
            transition: border-color 0.3s; /* 添加边框颜色变化的过渡效果 */
        }
    </style>
</head>
<body>
    <div class="form-container">
        <form class="layui-form" action="">
            <div>
                <h1>质检信息</h1>
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">质检编号：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="QualityNumber2" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">质检名称：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="QualityName2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">质检日期：</label>
                        <div class="layui-input-inline">
                            <input type="date" id="QualityTime2" autocomplete="off" lay-verify="required" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">质检人：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="Qualityer2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">供应商：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="Supplier2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>

                </div>
            </div>
            <div>
                <h1>原料信息</h1>
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">原料编号：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="MaterialNumber2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">原料名称</label>
                        <div class="layui-input-inline">
                            <input type="text" id="MaterialName2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">单位：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="Unit2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">规格型号：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="SpecificationsModel2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">原料批次号：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="batchNumber2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">尺寸：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="Size2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <h1>复检信息</h1>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">复检编号：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="ReInCode2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">合格状态：</label>
                        <input type="radio" id="HeGeSarte23" name="HeGeSarte2" value="已合格" title="已合格">
                        <input type="radio" id="HeGeSarte23" name="HeGeSarte2" value="不合格" title="不合格">
                    </div>
                </div>
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">复检名称</label>
                        <div class="layui-input-inline">
                            <input type="text" id="ReinspectionName2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">复检日期：</label>
                        <div class="layui-input-inline">
                            <input type="date" id="ReinspectionTime2" autocomplete="off" lay-verify="required" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">复检数量：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="ReinspectionNumber2" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">复检人：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="ReName2" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <label class="layui-form-label">备注：</label>
                        <div class="layui-input-block">
                            <textarea id="ReinspectionNote2" placeholder="请输入内容" class="layui-textarea"></textarea>
                        </div>
                    </div>

                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="button" class="layui-btn layui-bg-blue" onclick="formSubmit()">立即复检</button>
                   @*  <button type="submit" id="ReInfaces" class="layui-btn" lay-submit lay-filter="formSubmit">立即复检</button> *@
                    <button type="reset" class="layui-btn layui-btn-primary" onclick="location.href='/Quality/ReInfIndexShow'">重置</button>
                </div>
            </div>
        </form>
        <script src="~/js/Quality/UpdateReIn.js"></script>

    </div>

</body>
</html>


